import request from '@/utils/request'

export function delFreight(data) {
  return request({
    url: '/mms/v1/freight/template/freight/template/delete',
    method: 'post',
    data
  })
}

export function getFreightList(query) {
  return request({
    url: '/mms/v1/freight/template/list',
    method: 'get',
    params: query
  })
}

export function saveTemplate(data) {
  return request({
    url: '/mms/v1/freight/template/save',
    method: 'post',
    data
  })
}
